//
//  FYFPhotoBrowser.h
//  FYFPhotoBrowser
//
//  Created by fuyoufang on 16/5/16.
//  Copyright © 2016年 深圳－真二网. All rights reserved.
//

#import <UIKit/UIKit.h>

@class FYFPhotoBrowser;

@protocol FYFPhotoBrowserDelegate <NSObject>

- (NSInteger)numberOfPhotoBrowser:(FYFPhotoBrowser *)photoBrowser;

- (NSString *)photoBrowser:(FYFPhotoBrowser *)photoBrowser thumbnailURLStringAtIndex:(NSInteger)index;

- (NSString *)photoBrowser:(FYFPhotoBrowser *)photoBrowser originalURLStringAtIndex:(NSInteger)index;


@end

@interface FYFPhotoBrowser : UIViewController

@property (nonatomic, weak) id<FYFPhotoBrowserDelegate> delegate;
@property (nonatomic, weak) UIImageView *beginningImageView;

- (instancetype)initWithDelegate:(id<FYFPhotoBrowserDelegate>)delegate
                    currentIndex:(NSInteger)currentIndex
               beginningImageView:(UIImageView *)beginningImageView;

@end
